#!/usr/bin/python3
#coding=utf-8

from enum import Enum
from pydantic import BaseModel, EmailStr
from typing import Union, Optional, List

class ENV(Enum):
    SIT = "SIT"
    FAT = "FAT"
    PROD = "PROD"
    LOCAL = "LOCAL"

class EnvItem(BaseModel):
    env: ENV

class OSI(Enum):
    A = "Application"
    PR = "Presentation"
    S = "Session"
    T = "Transfer"
    N = "Networl"
    D = "DataLink"
    PH = "Physics"

class OsiItem(BaseModel):
    osi: OSI
    
class Gender(Enum):
    M = "Man"
    W = "Woman"


class StudentInfo(BaseModel):
    name: str
    password: str
    c_no_id: int
    c_subject_id: Optional[List] = None


